package com.ruoyi.eqmonitor.smdtv.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;

/**
 * 超图表--微站
 */
@Data
public class Smdtv9 implements Serializable {
    /**
     * id
     */
    private Integer smid;

    /**
     * 
     */
    private Double smx;

    /**
     * 
     */
    private Double smy;

    /**
     * 
     */
    private Long smlibtileid;

    /**
     * 
     */
    private Integer smuserid;

    /**
     * 序号
     */
    private Double xh;

    /**
     * 名称
     */
    private String name;

    /**
     * 断面类
     */
    private String dml;

    /**
     * 控制级
     */
    private String kzj;

    /**
     * 所在区
     */
    private String szq;

    /**
     * 评价区
     */
    private String pjq;

    /**
     * 评价乡
     */
    private String pjx;

    /**
     * 河流
     */
    private String hl;

    /**
     * 经度
     */
    private Double jd;

    /**
     * 纬度
     */
    private Double wd;

    /**
     * 经纬度
     */
    private String jwd;

    /**
     * 分管单
     */
    private String fgd;

    /**
     * 水质目
     */
    private String jzm;

    /**
     * T2020年均
     */
    private String t2020nj;

    /**
     * 使用
     */
    private String s1;

    /**
     * 备用
     */
    private String b1;

    /**
     * T2021年均
     */
    private String t2021nj;

    /**
     * 【使_1
     */
    private String s2;

    /**
     * 【备_1
     */
    private String b2;

    /**
     * 
     */
    private Integer nearFid;

    /**
     * 
     */
    private Double nearDist;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        Smdtv9 other = (Smdtv9) that;
        return (this.getSmid() == null ? other.getSmid() == null : this.getSmid().equals(other.getSmid()))
            && (this.getSmx() == null ? other.getSmx() == null : this.getSmx().equals(other.getSmx()))
            && (this.getSmy() == null ? other.getSmy() == null : this.getSmy().equals(other.getSmy()))
            && (this.getSmlibtileid() == null ? other.getSmlibtileid() == null : this.getSmlibtileid().equals(other.getSmlibtileid()))
            && (this.getSmuserid() == null ? other.getSmuserid() == null : this.getSmuserid().equals(other.getSmuserid()))
            && (this.getXh() == null ? other.getXh() == null : this.getXh().equals(other.getXh()))
            && (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
            && (this.getDml() == null ? other.getDml() == null : this.getDml().equals(other.getDml()))
            && (this.getKzj() == null ? other.getKzj() == null : this.getKzj().equals(other.getKzj()))
            && (this.getSzq() == null ? other.getSzq() == null : this.getSzq().equals(other.getSzq()))
            && (this.getPjq() == null ? other.getPjq() == null : this.getPjq().equals(other.getPjq()))
            && (this.getPjx() == null ? other.getPjx() == null : this.getPjx().equals(other.getPjx()))
            && (this.getHl() == null ? other.getHl() == null : this.getHl().equals(other.getHl()))
            && (this.getJd() == null ? other.getJd() == null : this.getJd().equals(other.getJd()))
            && (this.getWd() == null ? other.getWd() == null : this.getWd().equals(other.getWd()))
            && (this.getJwd() == null ? other.getJwd() == null : this.getJwd().equals(other.getJwd()))
            && (this.getFgd() == null ? other.getFgd() == null : this.getFgd().equals(other.getFgd()))
            && (this.getJzm() == null ? other.getJzm() == null : this.getJzm().equals(other.getJzm()))
            && (this.getT2020nj() == null ? other.getT2020nj() == null : this.getT2020nj().equals(other.getT2020nj()))
            && (this.getS1() == null ? other.getS1() == null : this.getS1().equals(other.getS1()))
            && (this.getB1() == null ? other.getB1() == null : this.getB1().equals(other.getB1()))
            && (this.getT2021nj() == null ? other.getT2021nj() == null : this.getT2021nj().equals(other.getT2021nj()))
            && (this.getS2() == null ? other.getS2() == null : this.getS2().equals(other.getS2()))
            && (this.getB2() == null ? other.getB2() == null : this.getB2().equals(other.getB2()))
            && (this.getNearFid() == null ? other.getNearFid() == null : this.getNearFid().equals(other.getNearFid()))
            && (this.getNearDist() == null ? other.getNearDist() == null : this.getNearDist().equals(other.getNearDist()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getSmid() == null) ? 0 : getSmid().hashCode());
        result = prime * result + ((getSmx() == null) ? 0 : getSmx().hashCode());
        result = prime * result + ((getSmy() == null) ? 0 : getSmy().hashCode());
        result = prime * result + ((getSmlibtileid() == null) ? 0 : getSmlibtileid().hashCode());
        result = prime * result + ((getSmuserid() == null) ? 0 : getSmuserid().hashCode());
        result = prime * result + ((getXh() == null) ? 0 : getXh().hashCode());
        result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
        result = prime * result + ((getDml() == null) ? 0 : getDml().hashCode());
        result = prime * result + ((getKzj() == null) ? 0 : getKzj().hashCode());
        result = prime * result + ((getSzq() == null) ? 0 : getSzq().hashCode());
        result = prime * result + ((getPjq() == null) ? 0 : getPjq().hashCode());
        result = prime * result + ((getPjx() == null) ? 0 : getPjx().hashCode());
        result = prime * result + ((getHl() == null) ? 0 : getHl().hashCode());
        result = prime * result + ((getJd() == null) ? 0 : getJd().hashCode());
        result = prime * result + ((getWd() == null) ? 0 : getWd().hashCode());
        result = prime * result + ((getJwd() == null) ? 0 : getJwd().hashCode());
        result = prime * result + ((getFgd() == null) ? 0 : getFgd().hashCode());
        result = prime * result + ((getJzm() == null) ? 0 : getJzm().hashCode());
        result = prime * result + ((getT2020nj() == null) ? 0 : getT2020nj().hashCode());
        result = prime * result + ((getS1() == null) ? 0 : getS1().hashCode());
        result = prime * result + ((getB1() == null) ? 0 : getB1().hashCode());
        result = prime * result + ((getT2021nj() == null) ? 0 : getT2021nj().hashCode());
        result = prime * result + ((getS2() == null) ? 0 : getS2().hashCode());
        result = prime * result + ((getB2() == null) ? 0 : getB2().hashCode());
        result = prime * result + ((getNearFid() == null) ? 0 : getNearFid().hashCode());
        result = prime * result + ((getNearDist() == null) ? 0 : getNearDist().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", smid=").append(smid);
        sb.append(", smx=").append(smx);
        sb.append(", smy=").append(smy);
        sb.append(", smlibtileid=").append(smlibtileid);
        sb.append(", smuserid=").append(smuserid);
        sb.append(", xh=").append(xh);
        sb.append(", name=").append(name);
        sb.append(", dml=").append(dml);
        sb.append(", kzj=").append(kzj);
        sb.append(", szq=").append(szq);
        sb.append(", pjq=").append(pjq);
        sb.append(", pjx=").append(pjx);
        sb.append(", hl=").append(hl);
        sb.append(", jd=").append(jd);
        sb.append(", wd=").append(wd);
        sb.append(", jwd=").append(jwd);
        sb.append(", fgd=").append(fgd);
        sb.append(", jzm=").append(jzm);
        sb.append(", t2020nj=").append(t2020nj);
        sb.append(", s1=").append(s1);
        sb.append(", b1=").append(b1);
        sb.append(", t2021nj=").append(t2021nj);
        sb.append(", s2=").append(s2);
        sb.append(", b2=").append(b2);
        sb.append(", nearFid=").append(nearFid);
        sb.append(", nearDist=").append(nearDist);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}